package com.itbaizhan.account.feign;

import com.itbaizhan.account.entity.PayInfo;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("payment")
public interface PayFeignService {

    @GetMapping("/payInfo/query/{txNo}")
    PayInfo getPayment(@PathVariable("txNo") String txNo);
}
